﻿using System;
using System.Collections.Generic;

namespace PARK.CardAcct.Entitys.Dto.Wechat
{
    /// <summary>
    /// C端用户微信注册
    /// </summary>
    public class EwgUserRegInput
    {
        /// <summary>
        /// 只有在用户将公众号绑定到微信开放平台帐号后，才会出现该字段
        /// </summary>
        public string unionid { get; set; }
        
        /// <summary>
        /// 微信openid
        /// </summary>
        public string openid { get; set; }
        
        /// <summary>
        /// wechat 公众号 ; routine小程序
        /// </summary>
        public string userType { get; set; }
        
        /// <summary>
        /// 用户昵称
        /// </summary>
        public string nickname { get; set; }
        
        /// <summary>
        /// 用户头像
        /// </summary>
        public string avatar { get; set; }
        
        /// <summary>
        /// 用户的性别，值为1时是男性，值为2时是女性，值为0时是未知
        /// </summary>
        public int? sex { get; set; }
        
        /// <summary>
        /// 用户所在国家
        /// </summary>
        public string country { get; set; }
        
        /// <summary>
        /// 用户所在省份
        /// </summary>
        public string province { get; set; }
        
        /// <summary>
        /// 用户所在城市
        /// </summary>
        public string city { get; set; }

        /// <summary>
        /// 所属公司Id
        /// </summary>
        public string CompanyId { get; }

        /// <summary>
        /// 所属公司名称
        /// </summary>
        public string CompanyName { get; }

    }
}
